# 定义 接口对象 层      查看 部门
import requests


class Depart(object):
    def depart(self,id,i):
        req = requests.get(url="http://ihrm2-test.itheima.net/api/company/department/"+id,
                           headers=i)
        return req